package com.woniuxy.community_life.mapper;

import com.woniuxy.community_life.pojo.DynamicImage;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface DynamicImageMapper {
    int deleteByPrimaryKey(Integer diId);

    int insert(DynamicImage record);

    int insertSelective(DynamicImage record);

    DynamicImage selectByPrimaryKey(Integer diId);

    int updateByPrimaryKeySelective(DynamicImage record);

    int updateByPrimaryKey(DynamicImage record);

    @Select("select * from t_dynamic_image where flag=0 and d_id=#{getdId}")
    List<DynamicImage> selectImage(Integer getdId);
}